package day5;

/**
 * @author oldliu
 * @since 1.0
 */
public class Array10 {
    public static void main(String[] args) {
        int a[] = {12, 55, 10, 5, 14, 22, 23, 985, 52};
        int max = a[0];
        for (int i = 1; i < a.length; i++) {
            if (max < a[i]) {
                max = a[i];
            }
        }
        System.out.println("最大的是：" + max);
    }
}
